Mollie\WooCommerce\Subscription\MollieSubscriptionGateway B

Total Complexity 82
Dependencies 21
Dependents 2
Total lines 544
Lines of code 339
Logical lines of code 237
Comment lines 167
Methods 22
Properties 4

Methods 22

Method Rating Maintainability Complexity Lines of code
scheduled_subscription_payment()
B
34 16 87
restore_mollie_customer_id_and_mandate()
A
41 14 52
update_subscription_status_for_direct_debit()
A
48 9 32
isTestModeEnabledForRenewalOrder()
S
55 5 19
useAnyValidMandate()
S
58 4 15
updateFirstPaymentMethodToRecurringPaymentMethod()
S
59 4 13
__construct()
S
55 3 16
validate_subscription_payment_meta()
S
67 4 7
addWcSubscriptionsFiltersForPayment()
S
59 3 14
is_available()
S
63 3 11
initialPaymentUsedOrderAPI()
S
66 3 8
updateScheduledPaymentOrder()
S
64 2 9
process_payment()
S
64 2 10
usePreviousMandate()
S
62 2 10
getCurrentLocale()
S
79 1 3
getOrderMollieCustomerId()
S
79 1 3
delete_resubscribe_meta()
S
81 1 3
initSubscriptionSupport()
S
73 1 4
add_subscription_payment_meta()
S
66 1 7
update_failing_payment_method()
S
70 1 6
process_subscription_payment()
S
76 1 4
delete_renewal_meta()
S
72 1 6